package cn.edu.hyit.zhao.dao;

import java.util.List;

import cn.edu.hyit.zhao.entity.Shop;

public interface IShopDAO {
    public int deleteByPrimaryKey(Integer shopId);

    public int insert(Shop record);

    public int insertSelective(Shop record);

    public Shop selectByPrimaryKey(Integer shopId);

    public int updateByPrimaryKeySelective(Shop record);

    public int updateByPrimaryKey(Shop record);

    public Shop selectByUsername(String username);

    public List<Shop> selectByParentId(Integer parentId);
    
    public List<Shop> selectAllStartedShop(String status);
}